

#app{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: skyblue;
  --tabbar-height:60px;
}


.mobile{
  width: 300px;
  height: 600px;
  border-radius: 20px;
  background-color: #fff;
}

.content{
  position: relative;
  margin: 5px;
  margin-bottom: 0;
  height: calc(100% - var(--tabbar-height));
}

.content img{
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px 20px 0 0 ;
  object-fit: cover;
  transition: opacity .4s ease;
}

.content .show{
  opacity: 1;
}

.tabbar {
  display: flex;
  height: var(--tabbar-height);
}

.tabbar-item{
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
  overflow: hidden;
  height: 100%;
}

.tabbar-item.active{
  color: rgb(135, 206, 235);
}

.tabbar-item:active{
  background-color: rgba(135, 206, 235, .5);
  transition: background 1s linear -.5s;
}

.ripple{
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%,-50%) scale(1);
  background-color: rgba(135, 206, 235, .5);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: spread .5s ease-in-out ;
}

@keyframes spread {
  0%{}
  100%{
    transform: translate(-50%,-50%) scale(8);
  }
}

.tabbar-icon {
  font-size: 20px;
  margin-bottom: 2px;
}